package com.bops.dal.product.dao;

import java.util.HashMap;
import java.util.List;


import com.bops.dal.product.dataobject.ProductsDO;
import com.bops.dal.product.queryobject.ProductsQuery;



public interface ProductsDAO {
    
	Integer insertProduct(ProductsDO record);

    int updateProduct(ProductsDO record);

    List<ProductsDO> listProduct(ProductsQuery query);
    List<ProductsDO> completeProduct(ProductsQuery query);

    ProductsDO findProduct_cloud_ById(Integer id);
    ProductsDO findProductById(Integer id);
    ProductsDO findProductIDByName(ProductsQuery queryProduct);

    int deleteProductById(Integer id);

    int countProduct(HashMap<String,Object> map);
    int checkProduct(ProductsDO editProduct);
    
    
}